package com.hymall.bean.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @author: 叶熠彬
 * @description:
 * @date: 2022/7/19 20:05
 */
@Data
public class WxCouponVo {
    private Integer id;

    private Integer cid;

    private String name;

    private String desc;

    private String tag;

    private BigDecimal discount;

    private BigDecimal min;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date startTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date endTime;

    private Boolean available = false;
}
